﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
	public class CourseInfo
	{
		/// <summary>
		/// 课程ID
		/// </summary>
		public int Id { get; set; }
		/// <summary>
		/// 课程名
		/// </summary>
		public string? CourseName { get; set; }
		/// <summary>
		/// 该课程的教师对象
		/// </summary>
		public TeacherInfo? Teachers { get; set; }
		/// <summary>
		/// 开课时间
		/// </summary>
		public DateTime StartTime { get; set; }
		/// <summary>
		/// 结课时间
		/// </summary>
		public DateTime EndTime { get; set; }
		/// <summary>
		/// 课程描述
		/// </summary>
		public string? Description { get; set; }
		/// <summary>
		/// 上课地点
		/// </summary>
		public ClassInfo? Location { get; set; }
		/// <summary>
		/// 学生列表
		/// </summary>
		public List<StudentInfo>? StudentList { get; set; } = new List<StudentInfo>();
	}
}
